package com.hanxiaozhang.util;

import java.io.Serializable;
import java.util.List;

/**
 * 功能描述: <br>
 * 〈分页工具类〉
 *
 * @Author:hanxiaozhang
 * @Date: 2020/10/14
 */
public class PageUtil implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 总数
	 */
	private int total;

	/**
	 * 行数据
	 */
	private List<?> rows;

	public PageUtil(List<?> list, int total) {
		this.rows = list;
		this.total = total;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

}
